package com.lrkj.property.mapper;

import java.util.List;
import com.lrkj.property.domain.OwnerDoor;

/**
 * 业主门禁Mapper接口
 * 
 * @author yajun_ren
 * @date 2021-08-18
 */
public interface OwnerDoorMapper 
{
    /**
     * 查询业主门禁
     * 
     * @param id 业主门禁ID
     * @return 业主门禁
     */
    public OwnerDoor selectOwnerDoorById(String id);

    /**
     * 查询业主门禁列表
     * 
     * @param ownerDoor 业主门禁
     * @return 业主门禁集合
     */
    public List<OwnerDoor> selectOwnerDoorList(OwnerDoor ownerDoor);

    /**
     * 新增业主门禁
     * 
     * @param ownerDoor 业主门禁
     * @return 结果
     */
    public int insertOwnerDoor(OwnerDoor ownerDoor);

    /**
     * 修改业主门禁
     * 
     * @param ownerDoor 业主门禁
     * @return 结果
     */
    public int updateOwnerDoor(OwnerDoor ownerDoor);

    /**
     * 删除业主门禁
     * 
     * @param id 业主门禁ID
     * @return 结果
     */
    public int deleteOwnerDoorById(String id);

    /**
     * 批量删除业主门禁
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOwnerDoorByIds(String[] ids);
}
